
<template>
  <div class="device-scada-container">
    <iframe
      :src="scadaUrl"
      frameborder="0"
    ></iframe>
  </div>
</template>

<script>
export default {
  name: 'DeviceScada',
  data() {
    return {
      scadaUrl: ''
    };
  },
  created() {
    this.scadaUrl = this.$route.query.url;
    console.log('this.scadaUrl---', this.scadaUrl);
  }
};
</script>

<style lang="scss" scoped>
.device-scada-container {
  width: 100%;
  height: 100%;

  iframe {
    width: 100%;
    height: 100%;
  }
}
</style>